package com.forekonw.ceyan1027;

import java.util.Scanner;

public class BookTest {
    public static void main(String[] args) {
        Book book = new Book();
        book.rooback();
        Scanner input = new Scanner(System.in);
        System.out.println("请输入颜色:");
        String aa = input.next();
        System.out.println("请输入cup型号:");
        int bb = input.nextInt();
        Book a =book.book(aa,bb);
        System.out.println(a.getColor()+"---"+a.getCpu());
    }
}
